
import 'package:secend_flutter/bean/home_common_model_bean.dart';


class SalesBoxBean{
  final String icon;
  final String moreUrl;
  final CommonBean bigCard1;
  final CommonBean bigCard2;
  final CommonBean smallCard1;
  final CommonBean smallCard2;
  final CommonBean smallCard3;
  final CommonBean smallCard4;


  SalesBoxBean({required this.icon, required this.moreUrl, required this.bigCard1, required this.bigCard2,
      required this.smallCard1, required this.smallCard2, required this.smallCard3, required this.smallCard4});

  factory SalesBoxBean.fromJson(Map<String,dynamic> json){
    return SalesBoxBean(
      icon: json['icon'],
      moreUrl: json['moreUrl'],
      bigCard1: CommonBean.fromJson(json['bigCard1']),
      bigCard2: CommonBean.fromJson(json['bigCard2']),
      smallCard1: CommonBean.fromJson(json['smallCard1']),
      smallCard2: CommonBean.fromJson(json['smallCard2']),
      smallCard3: CommonBean.fromJson(json['smallCard3']),
      smallCard4: CommonBean.fromJson(json['smallCard4']),
    );
  }
}